﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExtMain.aspx.cs" Inherits="LGSVR_WEB.ExtMain" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>深圳市苓贯科技有限公司</title>
    <link href="/skins/default/css/Common.css" rel="stylesheet" type="text/css" />
    <script src="skins/default/js/main.js" type="text/javascript"></script>
    <link href="skins/default/css/web.css" rel="stylesheet" type="text/css" />   
</head>
<body>
    <form id="form_Main" runat="server">
    <ext:PageManager ID="pm_Main" AutoSizePanelID="rpnl_Main" runat="server" />
    <ext:RegionPanel ID="rpnl_Main" ShowBorder="false" runat="server">
        <Regions>
            <ext:Region ID="rgn_Top" Height="70px" ShowBorder="false" ShowHeader="false" Position="Top"
                Layout="Fit" runat="server">
                <Items>
                    <ext:ContentPanel ShowBorder="false" ShowHeader="false" ID="cpnl_Logo" runat="server">                        
                         <table border="0" cellpadding="0" cellspacing="0" style="display: block; width: 100%;
        height: 50px; background-image: url(/skins/default/images/logo-bg.jpg);" id="topfrm">
        <tr>
           <td style="width: 250px;">
             <img id="Image1" src="/skins/default/images/logo.gif" style="border-width: 0px;" />
            </td>
            <td style="vertical-align: middle;">
               
            </td>
            <td align="right">
            </td>
        </tr>
    </table>

                    </ext:ContentPanel>
                </Items>
                <Toolbars>
                    <ext:Toolbar ID="tbr_b" Position="Bottom" runat="server">
                        <Items>
                            <ext:ToolbarSeparator ID="tbf_sepll" runat="server">
                            </ext:ToolbarSeparator>
                            <ext:Image ID="img_clock" Icon="Clock" runat="server">
                            </ext:Image>
                             <ext:ToolbarText ID="tbt_Clock" runat="server">
                            </ext:ToolbarText>
                            <ext:ToolbarSeparator ID="tbf_seplc" runat="server">
                            </ext:ToolbarSeparator>
                            <ext:ToolbarText ID="tbt_Info" runat="server">
                            </ext:ToolbarText>
                            <ext:ToolbarFill ID="tbf_c" runat="server">
                            </ext:ToolbarFill>
                            <ext:ToolbarSeparator ID="tbf_seplrl" runat="server">
                            </ext:ToolbarSeparator>
                            <ext:Button ID="btn_UserInfo" Icon="User" Text="个人信息" runat="server">
                            </ext:Button>
                            <ext:ToolbarSeparator ID="tbf_seplrc" runat="server">
                            </ext:ToolbarSeparator>
                           <%-- <ext:Button ID="btn_ChangePassword" Icon="LockKey" Text="修改密码" runat="server">
                            </ext:Button>--%>
                            <ext:ToolbarSeparator ID="tbf_seplrr" runat="server">
                            </ext:ToolbarSeparator>
                            <ext:Button ID="btn_EndLogin" Icon="BulletGo" Text="注销登录" runat="server" ConfirmText="确认要注销登录吗？"
                            OnClick="btn_EndLogin_Click">
                            </ext:Button>
                            <ext:ToolbarSeparator ID="tbf_seplr" runat="server">
                            </ext:ToolbarSeparator>
                        </Items>
                    </ext:Toolbar>
                </Toolbars>
            </ext:Region>
            <ext:Region ID="ren_Left" Split="true" EnableSplitTip="true" CollapseMode="Mini"
                EnableCollapse="true" Width="180px" ShowHeader="true" Title="功能菜单" Icon="Outline"
                Margins="0 0 5 5" Layout="Fit" Position="Left" runat="server">
                <Toolbars>
                    <ext:Toolbar ID="tbr_menu" Position="Bottom" runat="server">
                        <Items>
                            <ext:ToolbarFill ID="tf_m" runat="server">
                            </ext:ToolbarFill>
                            <ext:Button ID="btn_ReloadMenu" IconUrl="Images/reload.png" Text="刷新" runat="server">
                            </ext:Button>
                        </Items>
                    </ext:Toolbar>
                </Toolbars>
                <Items>
                    <ext:Accordion ID="ad_Main" runat="server" ShowHeader="false" ShowBorder="false"
                        BodyPadding="2px">
                        <Panes>
                            <ext:AccordionPane ID="ap_program" Icon="FolderPage" Title="节目管理" runat="server"
                                Layout="Fit">
                                <Items>
                                    <ext:Tree ID="tree_program" runat="server" ShowBorder="false" ShowHeader="false"
                                        AutoScroll="true">
                                    </ext:Tree>
                                </Items>
                            </ext:AccordionPane>
                            <ext:AccordionPane ID="ap_terminal" Icon="FolderTable" runat="server" Title="终端管理"
                                Layout="Fit">
                                <Items>
                                    <ext:Tree ID="tree_terminal" runat="server" ShowBorder="false" ShowHeader="false"
                                        AutoScroll="true">
                                    </ext:Tree>
                                </Items>
                            </ext:AccordionPane>
                            <ext:AccordionPane ID="ap_system" AutoScroll="true" Icon="FolderWrench" runat="server"
                                Title="系统管理" Layout="Fit">
                                <Items>
                                    <ext:Tree ID="tree_system" runat="server" ShowBorder="false" ShowHeader="false" AutoScroll="true">
                                    </ext:Tree>
                                </Items>
                            </ext:AccordionPane>
                           
                        </Panes>
                    </ext:Accordion>
                </Items>
            </ext:Region>
            <ext:Region ID="ren_Center" ShowHeader="false" Layout="Fit" Position="Center" Margins="0 0 5 0"
                runat="server">
                <Items>
                    <ext:TabStrip ID="tabs_Main" EnableTabCloseMenu="true" ShowBorder="false" runat="server">
                        <Tabs>
                            <ext:Tab ID="tab_Home" Title="管理首页" Layout="Fit" Icon="House" runat="server">
                                <Toolbars>
                                    <ext:Toolbar ID="tb_Tool" runat="server">
                                        <Items>
                                            <ext:ToolbarFill ID="tbf_htfill" runat="server">
                                            </ext:ToolbarFill>
                                            <ext:Button ID="btn_Reload" Icon="ArrowRefresh" Text="刷新列表" runat="server">
                                            </ext:Button>
                                            <ext:Button ID="btn_SourceCode" OnClientClick="window.open('../Default.aspx', '_blank');e.stopEvent();"
                                                Icon="WorldLink" Text="网站首页" EnablePostBack="false" runat="server">
                                            </ext:Button>
                                        </Items>
                                    </ext:Toolbar>
                                </Toolbars>
                                <Items>
                                    <ext:ContentPanel ID="ct_Home" runat="server" ShowBorder="false" ShowHeader="false"
                                        BodyPadding="10px" AutoScroll="true">
                                  
                                    </ext:ContentPanel>
                                </Items>
                            </ext:Tab>
                        </Tabs>
                    </ext:TabStrip>
                </Items>
            </ext:Region>
        </Regions>
    </ext:RegionPanel>
 <ext:Window ID="win_ChangePassword" Icon="LockKey" Title="修改密码" IFrameUrl="default.aspx" Hidden="true" EnableIFrame="true"
        Target="Parent" runat="server" IsModal="true" Width="350px" Height="170px">
    </ext:Window>
    <ext:Timer ID="tir_Main" Interval="20" EnableAjaxLoading="false" runat="server">
    </ext:Timer>
    <script type="text/javascript">

        var IDS = {
            tree_program: '<%= tree_program.ClientID %>',
            tree_terminal: '<%= tree_terminal.ClientID %>',
            tree_system: '<%= tree_system.ClientID %>',
            tabs_Main: '<%= tabs_Main.ClientID %>'

        };

    </script>
    </form>
</body>
</html>
